package com.itheima.demo06;

public class Demo {
    public static void main(String[] args) {
        Desk desk = new Desk(false,10);
        Foodie f = new Foodie(desk);
        Cooker c = new Cooker(desk);
        f.start();
        c.start();
    }
}
